﻿<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home_model extends CI_Model {
		
	public function __constructor()
	{  
	    parent::Model();  
	}
	
	function signup($data)
	{
		$this->db->insert('landing_user',$data);
	}

	function check_email($data)
	{
		$this->db->where('landing_mail',$data);
		$q = $this->db->get('landing_user');
		if ($q->num_rows()>0) 
		{
			return TRUE;
		}
	}
	

	
}
?>